<%@ page contentType="text/xml; charset=UTF-8" import="java.util.*"%><%@ taglib prefix="s" uri="/struts-tags"%><s:set name="organizationList" value="organizationList" scope="request" /><?xml version="1.0" encoding="UTF-8" ?><%response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
String context = request.getContextPath();%><tree>
<s:iterator value="organizationList">
<s:if test="%{isHasChild==0}">
<tree nodeid ='<s:property value="id"/>' text='<s:property value="name"/>' src='<%=context%>/sys/organization!getChildOrganizationList.action?parentId=<s:property value="id"/>' action="javascript:selectItem('<s:property value="id"/>')"  isFolder="false" />
</s:if>
<s:if test="%{isHasChild==1}">
<tree nodeid ='<s:property value="id"/>' text='<s:property value="name"/>' src='<%=context%>/sys/organization!getChildOrganizationList.action?parentId=<s:property value="id"/>' action="javascript:selectItem('<s:property value="id"/>')"  isFolder="true" />
</s:if>
</s:iterator>
</tree>